There was such a mistake in the process of building the library by hand today.ERROR:Ora-09925:unable to create audit trail filelinux-x86_64 error:2: No such file or directoryAdditional information:9925Ora-01075:you is currently logged on[Email protected] dbhome_1]$ Ps-ef | grep SmonOracle 11903 1 0 22:18? 00:00:00 ora_smon_manualOracle 12485 1690 0 22:28 pts/1 00:00:00 grep smon[Email protected] dbhome_1]$
Audit can configure rules, this rule is mainly issued to the kernel module, the kernel Audit module will follow this rule to obtain audit information, sent to AUDITD to record logs.The rule types can be divided into:1, control rules : Control the audit system rules;2, File s
file for the log output, which is rsyslog to check the size of the file, 2097152 indicates the size threshold of the log file, Xx_log_ Dump.sh represents a script that executes after the log file arrives at a threshold, typically a dump script, separated by a space between the parameters and the program. After this co
is the T-SQL code that enables auditing: Use masterCREATE SERVER AUDIT audit1 to FILE (filepath= ' D:\SQLAudit ')Use AdventureWorks2012CREATE DATABASE AUDIT specification serialpic for SERVER AUDIT audit1ADD (Update,insert,delete on person.address by dbo) Use masterCREATE SERVER
Each file and directory in the Http://unix-cd.com/vc/www/25/2007-10/8902.htmlLinux system has access permissions and is used to determine who can access and manipulate files and directories.Access to a file or directory is divided into read-only, write-only, and executable three types. As an example of a file, a read-only permission means that only the content is
How Linux Changes file properties and permissionsWe know that file permissions for a system of security importance, but also know the permissions of the file for users and groups of relevance, then how to modify the properties and permissions of a
like "-rwxr-xr--"? You can use "chmod u=rwx,g=rx,o=r filename" to set it. Also, if we know the original file attributes, and I just want to increase the. BASHRC per-person writable permissions for this file, then I can use:-rwxrwxrwx 1 root root 395 Jul 4 11:45. BASHRCAnd if you want to remove permissions without changing other existing permissions? For example, to take out the executable permissions of al
Using inotify to monitor file changes in linux is a useful method. There are many tutorials on how to configure inotify. Issue
Using inotify to monitor file changes in linux is a useful method. There are many tutorials on how to
-------1 root root 0 June 23:17/var/log/sudo.log5. Test sudo log audit configuration results[Email protected]_back ~] #whoamiRoot[Email protected]_back ~] #su-ci001-bash:warning:setlocale:lc_ctype:cannot change locale (en): No such file or directory-bash:warning:setlocale:lc_collate:cannot change locale (en): No such file or directory-bash:warning:setlocale:lc_me
sub-directory will be changedFor example, if you want to set the. bashrc file with all permissions enabled, then release:-rwxrwxrwx 1 root root 395 Jul 4 11:45. BASHRCWhat if you want to turn permissions into-rwxr-xr--? Then the score of the privilege becomes [4+2+1][4+0+1][4+0+0]=754! So you need to release:[Email protected] ~]# chmod 754 filename3.2 Symbol Type change file permissionsThere is also a way
Inode operations on files in linux, block changes 1. create a file system and mount it: inode. The block information is as follows: filesystem Inodes IUsed IFree IUse % Mounted on/dev/sdb5 28112 11 28101 1%/test5/dev/sdb6 28112 11 28101 1%/test6Filesystem 1K-blocks Used Available Use % Mounted on/dev/sdb5 108837 5663 97555 6%/test5/dev/sdb6 108865 5663 97581/test
Inode operations on files in linux, block changes 1. create a file system and mount it to inode. the block information is as follows: FilesystemInodesIUsedIFreeIUse % Mountedon/dev/sdb5281_11281011 %... inode operations on files in linux, block changes 1. create a
Recently saw a group of people chatting to their server has recently been Hung horse, and then want to use a script to monitor the Web directory changes in real-time files, that is, the directory of additions and deletions to the corresponding log records.
At that time feel this function is really a bit interesting, so I looked up some information on the Internet, I studied the next, now have time to write a script, to share with you, if th
When you use the LL or ls-l instructions, the first column displays the permissions of the files in the directoryFor example:-rw-r-r-The horizontal line represents an empty license. R is for read only, W for write, and X for executable. Note that there are 10 locations. The first character specifies the file type. In the usual sense, a directory is also a file. If the first character is a horizontal line, i
One1. View the userThe command is as follows: WhoAmI2. Create a userCreate user command: sudo adduser helloSuper User is RootDelete user name command: sudo deluser hello--remove-homeSwitch User login command: su-l Hello3. User groupsGroupsView user groups command: Cat/etc/groupOr: Cat/etc/group | Sort (so that the displayed data is in dictionary order)Create User group: UsermodIi. Permissions for Linux files1. Permissions ViewView Permissions command:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.